<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<link rel="shortcut icon" type="image/png" href="images/favicon.ico">
	<link rel="stylesheet" href="js/layui/css/layui.css">
	<link rel="stylesheet" href="css/style.css">
	<script src="js/layui/layui.js"></script>
	<title>XXX小站-{% block title %}首页{% endblock %}</title>
</head>

<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header">
			<div class="layui-logo"><a href="/">OneStation</a></div>
			<!-- 头部区域 -->
			<ul class="layui-nav layui-layout-left">
				<li class="layui-nav-item">
					<a href="index">数据相关</a>
				</li>
				<li class="layui-nav-item">
					<a href="otherpage">其他</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:;">关于</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="https://gitee.com/devhu/onestation" target="_blank">代码仓库</a>
						</dd>
						<dd>
							<a href="/docs" target="_blank">开发文档</a>
						</dd>
						<dd>
							<a href="/jenkins" target="_blank">构建部署</a>
						</dd>
					</dl>
				</li>
			</ul>
			<ul class="layui-nav layui-layout-right">
				<li class="layui-nav-item">
					<a onclick='logout()'>退出登录</a>
				</li>
			</ul>
		</div>

		<div class="layui-body">
			{% block content %}{% endblock %}
			<!-- 内容主体区域 -->
		</div>
		<!-- layui-body -->

		<div class="layui-footer">
			<!-- 底部固定区域 -->
			© 2019 - One Station - A better data tool.&nbsp;&nbsp; Powered by |
			<a href="https://javalin.io" target="_blank">Javalin</a>
			|
			<a href="http://www.runoob.com/jquery/ajax-ajax.html" target="_blank">JQuery</a>
			|
			<a href="https://www.layui.com/doc/" target="_blank">Layui</a> |
			<a href="https://pebbletemplates.io/" target="_blank">Pebble Templates</a>
		</div>

	</div>
	<script src="js/index.js"></script>
</body>

</html>